/*
 * CourseWithTeacher.h
 *
 *  Created on: 13 May 2010
 *      Author: Savramis Sartios
 */

#ifndef COURSEWITHTEACHER_H_
#define COURSEWITHTEACHER_H_
#include "ICourseWithTeacher.h"
#include "../../Lists/TeacherList/ITeacherList.h"

class CourseWithTeacher :  public ICourseWithTeacher {
public:

	CourseWithTeacher();

	CourseWithTeacher(const ICourse *course,const ITeacherList *teachers);

	virtual ~CourseWithTeacher();

	virtual	bool				setCourse(const ICourse *course);

	virtual	ICourse	*			getCourse();

	virtual	bool				addTeacher(ITeacher *teacher);

	virtual bool				setTeachers(const	ITeacherList *teachers);

	virtual ITeacherIterator *	getTeacherIterator();

private:

	ITeacherList 	*teachers_ ;
	ICourse		 	*course_;
};

#endif /* COURSEWITHTEACHER_H_ */
